#ifndef _SDRAM_DDR_DEVICE_IF_H
#define _SDRAM_DDR_DEVICE_IF_H

#include "SDRAM_DDR_define.h"
#include "SDRAM_COMMON_device_if.h"

class SDRAM_DDR_device_if
: public SDRAM_COMMON_device_if
{
public:
	virtual const bool
	SDRAM_DDR_mode_register_set(unsigned		EMRS_num,
								unsigned short	EMRS_code) = 0;

	virtual const SDRAM_DDR_data_t
	SDRAM_DDR_read_data(unsigned	rank_sel,
						unsigned	bank_sel,
						unsigned	current_burst,
						bool		direct_access) = 0;

	virtual const bool
	SDRAM_DDR_write_data(unsigned			rank_sel,
						 unsigned			bank_sel,
						 unsigned			current_burst,
						 SDRAM_DDR_data_t	data,
						 bool				direct_access) = 0;

	virtual const sc_logic
	SDRAM_DDR_get_DQS() const = 0;

	virtual const bool
	SDRAM_DDR_set_DQS(sc_logic DQS) = 0;
};

#endif